﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using Microhard.Permission.Interface;
using Microhard.Permission.Validator;
//程琳 2012-9-17
namespace Microhard.Permission.Models
{   
    /// <summary>
    /// 行为
    /// </summary>
    [FluentValidation.Attributes.Validator(typeof(OperationValidator))]
    public class Operation
    {   
        /// <summary>
        /// ID
        /// </summary>
        public Guid OperationID { set; get; }
        /// <summary>
        /// 行为唯一标示
        /// </summary>
        public string KeyName { set; get; }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { set; get; }
    }
}
